<?php
/**
 * Load Contact Once
 * 
 */
$id = Xview::instance()->val("ressourceid",Xview::instance()->val("rid"));

try {
	/* @var $contact Hive\Ressource */
	$contact = Fox\Dao::load(Hive\Ressource::className(),$id);
}
catch (Fox\Object\Exception\NotExist $e)
{
	Xview::instance()->systemError($e->getMessage(),"?mod=ressource");
}
return $contact;